Return full path here as expected, not just the basename.
authorCarlos Garnacho <carlos@imendio.com>
Sun, 15 Jun 2008 23:32:11 +0000 (23:32 +0000)
committerCarlos Garnacho <carlosg@src.gnome.org>
Sun, 15 Jun 2008 23:32:11 +0000 (23:32 +0000)
commitbfe00f9b9bea56f105fc873d66f9865e552af5a2
treebc6f6ad6e3d83bb5c28c4412d8a13b45c069e042
parent4d15d77fc5309895f24bca9f4b8693583ea34bf4
Return full path here as expected, not just the basename.

2008-06-15  Carlos Garnacho  <carlos@imendio.com>

        * gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Return full
        path here as expected, not just the basename.

        * gtk/gtkfilechooserdefault.c
        (gtk_file_chooser_default_update_current_folder): Ensure that we keep
        a reference to file, since it can be destroyed when switching back to
        browse mode.

        * gtk/gtkfilesystem.c (get_icon_for_special_directory): Removed, home
        and desktop directories are dealt by the filechooser as normal files,
        not volumes, so the icon for these is handled directly by GIO.
        (_gtk_file_system_volume_render_icon): Update caller.

svn path=/trunk/; revision=20393
ChangeLog
gtk/gtkfilechooser.c
gtk/gtkfilechooserdefault.c
gtk/gtkfilesystem.c